package com.scgl.process.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产日志对象 scgl_log
 * 
 * @author ruoyi
 * @date 2024-11-04
 */
public class ScglLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long serial;

    /** 操作账号 */
    @Excel(name = "操作账号")
    private String bank;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 生产内容 */
    @Excel(name = "生产内容")
    private String matter;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setSerial(Long serial) 
    {
        this.serial = serial;
    }

    public Long getSerial() 
    {
        return serial;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }
    public void setMatter(String matter) 
    {
        this.matter = matter;
    }

    public String getMatter() 
    {
        return matter;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serial", getSerial())
            .append("bank", getBank())
            .append("role", getRole())
            .append("matter", getMatter())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
